home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / msgq160e.arc / CFGFILES.ARC / MSG.BAT < prev    next >
DOS Batch File  |  1991-10-26  |  386b  |  27 lines

  1. echo off
  2. REM  Msged/Q batch file example for QuickBBS sysops
  3. REM  Written by P.J. Muller 5:7102/11
  4.  
  5. d:
  6. cd \qpoint
  7. msgedq -q
  8. d:
  9. cd \qpoint
  10.  
  11. if ERRORLEVEL 4 GOTO error
  12. if ERRORLEVEL 3 GOTO both
  13. if ERRORLEVEL 2 GOTO echomail
  14. if ERRORLEVEL 1 GOTO netmail
  15. goto end
  16.  
  17. :error
  18. echo Msged/Q returned error code - aborting
  19. goto end
  20.  
  21. :both
  22. :netmail
  23. :echomail
  24. export
  25.  
  26. :end
  27.